/// bindSiteId : null
/// bindUseType : null
/// branchId : 6627
/// cardNo : "330321195401203476"
/// elderCode : "https://qr.yytong.com/BFBqrzJEEplf12CK2KrMDg=="
/// elderHumanId : 9646
/// elderHumanName : "王丫丫"
/// elderHumanRoom : "金泰家园丁兰社区2102"
/// packageInfo : {"breakfastLimitMoney":null,"aboveLimitStatus":null,"packageConfName":"餐费700","dinnerLimitMoney":null,"lunchLimitMoney":null}

class ElderBindInfo {
  ElderBindInfo({
      this.bindSiteId, 
      this.bindUseType, 
      this.branchId, 
      this.cardNo, 
      this.elderCode, 
      this.elderHumanId, 
      this.elderHumanName, 
      this.elderHumanRoom, 
      this.packageInfo,});

  ElderBindInfo.fromJson(dynamic json) {
    bindSiteId = json['bindSiteId'];
    bindUseType = json['bindUseType'];
    branchId = json['branchId'];
    cardNo = json['cardNo'];
    elderCode = json['elderCode'];
    elderHumanId = json['elderHumanId'];
    elderHumanName = json['elderHumanName'];
    elderHumanRoom = json['elderHumanRoom'];
    packageInfo = json['packageInfo'] != null ? ElderBindPackageInfo.fromJson(json['packageInfo']) : null;
  }
  dynamic bindSiteId;
  dynamic bindUseType;
  num? branchId;
  String? cardNo;
  String? elderCode;
  num? elderHumanId;
  String? elderHumanName;
  String? elderHumanRoom;
  ElderBindPackageInfo? packageInfo;
ElderBindInfo copyWith({  dynamic bindSiteId,
  dynamic bindUseType,
  num? branchId,
  String? cardNo,
  String? elderCode,
  num? elderHumanId,
  String? elderHumanName,
  String? elderHumanRoom,
  ElderBindPackageInfo? packageInfo,
}) => ElderBindInfo(  bindSiteId: bindSiteId ?? this.bindSiteId,
  bindUseType: bindUseType ?? this.bindUseType,
  branchId: branchId ?? this.branchId,
  cardNo: cardNo ?? this.cardNo,
  elderCode: elderCode ?? this.elderCode,
  elderHumanId: elderHumanId ?? this.elderHumanId,
  elderHumanName: elderHumanName ?? this.elderHumanName,
  elderHumanRoom: elderHumanRoom ?? this.elderHumanRoom,
  packageInfo: packageInfo ?? this.packageInfo,
);
  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['bindSiteId'] = bindSiteId;
    map['bindUseType'] = bindUseType;
    map['branchId'] = branchId;
    map['cardNo'] = cardNo;
    map['elderCode'] = elderCode;
    map['elderHumanId'] = elderHumanId;
    map['elderHumanName'] = elderHumanName;
    map['elderHumanRoom'] = elderHumanRoom;
    if (packageInfo != null) {
      map['packageInfo'] = packageInfo?.toJson();
    }
    return map;
  }

}

/// breakfastLimitMoney : null
/// aboveLimitStatus : null
/// packageConfName : "餐费700"
/// dinnerLimitMoney : null
/// lunchLimitMoney : null

class ElderBindPackageInfo {
  ElderBindPackageInfo({
      this.breakfastLimitMoney, 
      this.aboveLimitStatus, 
      this.packageConfName, 
      this.dinnerLimitMoney, 
      this.lunchLimitMoney,});

  ElderBindPackageInfo.fromJson(dynamic json) {
    breakfastLimitMoney = json['breakfastLimitMoney'];
    aboveLimitStatus = json['aboveLimitStatus'];
    packageConfName = json['packageConfName'];
    dinnerLimitMoney = json['dinnerLimitMoney'];
    lunchLimitMoney = json['lunchLimitMoney'];
  }
  num? breakfastLimitMoney;
  dynamic aboveLimitStatus;
  String? packageConfName;
  num? dinnerLimitMoney;
  num? lunchLimitMoney;
ElderBindPackageInfo copyWith({  num? breakfastLimitMoney,
  dynamic aboveLimitStatus,
  String? packageConfName,
  num? dinnerLimitMoney,
  num? lunchLimitMoney,
}) => ElderBindPackageInfo(  breakfastLimitMoney: breakfastLimitMoney ?? this.breakfastLimitMoney,
  aboveLimitStatus: aboveLimitStatus ?? this.aboveLimitStatus,
  packageConfName: packageConfName ?? this.packageConfName,
  dinnerLimitMoney: dinnerLimitMoney ?? this.dinnerLimitMoney,
  lunchLimitMoney: lunchLimitMoney ?? this.lunchLimitMoney,
);
  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['breakfastLimitMoney'] = breakfastLimitMoney;
    map['aboveLimitStatus'] = aboveLimitStatus;
    map['packageConfName'] = packageConfName;
    map['dinnerLimitMoney'] = dinnerLimitMoney;
    map['lunchLimitMoney'] = lunchLimitMoney;
    return map;
  }

}